< previous page page_483 next page >

Page 483
(table continued from previous page)
Method NameDescription
CloneThis method can be used to create a copy of the recordset into another Recordset object. You might use this if you need to move through the same records in the recordset but at different locations.
CloseCloses an open recordset.
DeleteDeletes the current record in the recordset.
FindFinds a particular record in a recordset based on a search string. If the record youre searching for doesnt exist, the recordset will be placed at the end of the file.
MoveMoves a certain number of records from the current record. You can pass either a positive or negative number to this method to move forward or backward.
MoveFirstMoves to the first record in the recordset.
MoveLastMoves to the last record in the recordset.
MoveNextMoves to the next record in the recordset.
MovePreviousMoves to the previous record in the recordset.
OpenOpens a recordset based on a SQL statement, a table name, a stored procedure name, or a Command object.
RequeryRebuilds the complete recordset by rereading the data from the table in the database using the same command originally used to open the recordset. You might do this when many users are changing data at the same time. This allows you to see other users additions and/or changes.
ResyncThis method also rebuilds a recordset, but it only refreshes records based on the criteria you set in the Filter property.
SaveThis method saves the contents of the recordset to a disk file. You can later reopen that disk file by passing in the same filename to the Open method.
UpdateThis method updates the current record with the values in the controls.

Recordset Types
The Open method of the Recordset object supports different types of cursors to be opened. First, lets look at the full syntax of the Open method:
9f31265bb40b592b1929e18a47ab28e5.gif
oRS.Open Source, ActiveConnection, _
         CursorType, LockType, Options

 
< previous page page_483 next page >

If you like this book, buy it!